package com.woniu.car.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
public class TService implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "service_id", type = IdType.AUTO)
    private Integer serviceId;

    /**
     * 商家id
     */
    private Integer shopId;

    /**
     * 服务名
     */
    private String serviceName;

    /**
     * 服务编号
     */
    private String serviceNo;

    /**
     * 服务详情
     */
    private String description;

    /**
     * 服务价格
     */
    private Double servicePrice;

    /**
     * 服务分类id
     */
    private Integer typeId;

    /**
     * 商品状态 0.可上架，1.不可上架，3.已上架
     */
    private String status;

    /**
     * 服务图片
     */
    private String image;

    /**
     * 记录添加时间
     */
    private Date rawAddTime;

    /**
     * 记录更新时间
     */
    private Date rawUpdateTime;


    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceNo() {
        return serviceNo;
    }

    public void setServiceNo(String serviceNo) {
        this.serviceNo = serviceNo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(Double servicePrice) {
        this.servicePrice = servicePrice;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Date getRawAddTime() {
        return rawAddTime;
    }

    public void setRawAddTime(Date rawAddTime) {
        this.rawAddTime = rawAddTime;
    }

    public Date getRawUpdateTime() {
        return rawUpdateTime;
    }

    public void setRawUpdateTime(Date rawUpdateTime) {
        this.rawUpdateTime = rawUpdateTime;
    }

    @Override
    public String toString() {
        return "TService{" +
        "serviceId=" + serviceId +
        ", shopId=" + shopId +
        ", serviceName=" + serviceName +
        ", serviceNo=" + serviceNo +
        ", description=" + description +
        ", servicePrice=" + servicePrice +
        ", typeId=" + typeId +
        ", status=" + status +
        ", image=" + image +
        ", rawAddTime=" + rawAddTime +
        ", rawUpdateTime=" + rawUpdateTime +
        "}";
    }
}
